<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<link href="./css/style.css" rel="stylesheet" type="text/css" />
<script src="./js/jquery.js"></script>
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<title>管理登录</title>
</head>
<body style="background:#222;">
	<div class="login">
		<form class="l">
			<p class="p1"><span>登录账户</span><input type="text" name="t0" placeholder="请输入会员名" /></p>
			<p class="p2"><span>会员密码</span><input type="password" name="t1" placeholder="请输入密码" /></p>
			<p class="p3"><span class="jilu"><input type="radio" name='t2' />记住密码</span><button type="button" onclick="login()" >登录</button></p>
		</form>
		<script>
			function login(){
				$.ajax({
					type:"post",
					dataType:"json",
					url:"/inc/Login.php?act=login",
					data:$(".l").serialize(),
					success:function(d){
						if(d[0]==0){
							alert(d[1]);
						}
						else{
							window.location.href='./';
						}
					}
				});
			}
		</script>
	</div>
</body>
</html>